# The following lines of boilerplate have to be in your project's CMakeLists
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.16)

# This example uses an extra component for common functions such as Wi-Fi and Ethernet connection.
set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/common_components/protocol_examples_common components)
#set(EXTRA_COMPONENT_DIRS components)

include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(pika_esp32_demo VERSION 1.0)
message(STATUS "target: ${IDF_TARGET}")
if (${CONFIG_USING_SD_CARD})
message(STATUS "CONFIG_USING_SD_CARD ON")
endif()
if (${CONFIG_USING_LCD})
message(STATUS "CONFIG_USING_LCD ON")
endif()
if (${CONFIG_USING_AHT20})
message(STATUS "CONFIG_USING_AHT20 ON")
endif()
if (${CONFIG_USING_SHT3X})
message(STATUS "CONFIG_USING_SHT3X ON")
endif()
if (${CONFIG_USING_BEEP})
message(STATUS "CONFIG_USING_BEEP ON")
endif()
